package com.ruoyi.restaurant.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 餐品项目对象 sys_item
 * 
 * @author ruoyi
 * @date 2022-04-13
 */
public class SysItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 餐品项目id */
    private Integer itemId;

    /** 餐品项目编号 */
    @Excel(name = "餐品项目编号")
    private String itemNums;

    /** 餐品项目名称 */
    @Excel(name = "餐品项目名称")
    private String itemNames;

    /** 餐品项目价格 */
    @Excel(name = "餐品项目价格")
    private Integer itemPrice;

    /** 餐品项目折扣 */
    @Excel(name = "餐品项目折扣")
    private BigDecimal itemDiscount;

    /** 餐品项目数量 */
    @Excel(name = "餐品项目数量")
    private Long itemQuantity;

    /** 餐品种类id */
    @Excel(name = "餐品种类id")
    private Long categoryId;

    /** 餐品种类编号 */
    @Excel(name = "餐品种类编号")
    private String categoryNums;

    public void setItemId(Integer itemId) 
    {
        this.itemId = itemId;
    }

    public Integer getItemId() 
    {
        return itemId;
    }
    public void setItemNums(String itemNums) 
    {
        this.itemNums = itemNums;
    }

    public String getItemNums() 
    {
        return itemNums;
    }
    public void setItemNames(String itemNames) 
    {
        this.itemNames = itemNames;
    }

    public String getItemNames() 
    {
        return itemNames;
    }
    public void setItemPrice(Integer itemPrice) 
    {
        this.itemPrice = itemPrice;
    }

    public Integer getItemPrice() 
    {
        return itemPrice;
    }
    public void setItemDiscount(BigDecimal itemDiscount) 
    {
        this.itemDiscount = itemDiscount;
    }

    public BigDecimal getItemDiscount() 
    {
        return itemDiscount;
    }
    public void setItemQuantity(Long itemQuantity) 
    {
        this.itemQuantity = itemQuantity;
    }

    public Long getItemQuantity() 
    {
        return itemQuantity;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setCategoryNums(String categoryNums) 
    {
        this.categoryNums = categoryNums;
    }

    public String getCategoryNums() 
    {
        return categoryNums;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("itemId", getItemId())
            .append("itemNums", getItemNums())
            .append("itemNames", getItemNames())
            .append("itemPrice", getItemPrice())
            .append("itemDiscount", getItemDiscount())
            .append("itemQuantity", getItemQuantity())
            .append("categoryId", getCategoryId())
            .append("categoryNums", getCategoryNums())
            .toString();
    }
}
